<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@include file="../../util/taglib.jsp" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <title>部门数据列表</title>
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">
	<jsp:include page="../util/commScript.jsp">
	   <jsp:param value="<%=basePath %>" name="basePath"/>
	</jsp:include>
  </head>
  <body>
<div class="place">
    <span>位置：</span>
    <ul class="placeul">
	    <li><a href="javascript:void(0)">首页</a></li>
	    <li><a href="javascript:void(0)">系统管理</a></li>
	    <li><a href="javascript:void(0)">部门管理</a></li>
    </ul>
</div>
    <div id="departmentListPage"  class="easyui-layout"  data-options="fit:'true'">
		<input type="hidden" name="companyUUID" id="companyUUID" value="${param.companyUUID }" >
		<div class="daohangArea" data-options="region:'west',split:true,title:'导航树'" title="West" style="width:240px;padding:3px">
			
		</div>
		<div data-options="region:'center',title:'部门列表'" title="Center">
		    <div class="departmentList"></div>
		</div>
	    <div id="departmentTools">
		    <!-- 表格工具栏 -->
			<div class="tb_toolbar">
				<a href="javascript:addData('')"  class="easyui-linkbutton" data-options="iconCls:'icon-add'">新增部门</a>
				<a href="javascript:batchAddData()"  class="easyui-linkbutton" data-options="iconCls:'icon-batchAdd'">批量增加</a>
				<a href="javascript:batchDelete()" class="easyui-linkbutton" id="batchDeleteLink" data-options="iconCls:'icon-no'">批量删除</a>
			</div>
		    
		    <!-- 表格行工具栏 -->
			<div class="row_toolbar" style="display:none">
				<a href="javascript:addData('#ID#')" class="easyui-linkbutton" data-options="iconCls:'icon-edit',plain:true">编辑</a>
				<a href="javascript:delData('#ID#')" class="easyui-linkbutton" data-options="iconCls:'icon-no',plain:true">删除</a><br/>
			</div>
	    </div>
    
	    <script type="text/javascript">
	       var tableObject = $("#departmentListPage .departmentList");
		</script>
	    <script type="text/javascript" src="<%=basePath %>manage/action/gridAction.js"></script>
		<script type="text/javascript" src="<%=basePath %>manage/action/department.js"></script>
     </div>
  </body>
</html>
